//
//  Datapicker.h
//  ZZmetro
//
//  Created by 一介布衣 on 2020/6/17.
//  Copyright © 2020 一介布衣. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^DataPickerSelectedBlock)(id object, NSIndexPath* indexPath);

@interface Datapicker : NSObject

/**
 * 年月日时分秒
 */
+(void) pickYearMonthDayHourMinute:(UIViewController *) contrller;

/**
 * 年月日
 */
+(void) pickYearMonthDay:(UIViewController *) contrller;

/**
 * 年月日
 */
+(void) pickHourMinute:(UIViewController *) contrller;

/**
 * 获取数据
 */
+(void) pickData:(UIViewController *) contrller srcData:(NSArray *) srcData callback:(DataPickerSelectedBlock) block;

@end

NS_ASSUME_NONNULL_END
